#ifndef DBUTIL_H
#define DBUTIL_H

#include <QString>
#include <QMap>
#include "sqlite3.h"

#define DB_NAME "../express_system_web/express_system.db"

class DBUtil
{
private:
    static sqlite3* db;

public:
    DBUtil();
    ~DBUtil();

    bool openDB();
    void closeDB();
    sqlite3* getDB();
};

#endif // DBUTIL_H
